package com.yunxin.core.domain.service.warn;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yunxin.core.domain.external.warn.WarnUserPageDTO;
import com.yunxin.core.domain.external.warn.WarnUserPageResultDTO;
import com.yunxin.core.domain.model.warn.WarnUser;

import java.util.List;

/**
 * <p>
 * 告警通知user 服务类
 * </p>
 *
 * @author author
 * @since 2024-05-13
 */
@DS("core")
public interface IWarnUserService extends IService<WarnUser> {

    List<WarnUser> selectUserByType(int warnType);

    Page<WarnUserPageResultDTO> selectWarnUserPage(WarnUserPageDTO userPageDTO);
}
